package com.px.mbg.model;

import com.px.mbg.base.BaseEntity;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 标准采购单表
 * </p>
 *
 * @author 品讯科技
 * @since 2022-09-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="StandardProcurement对象", description="标准采购单表")
public class StandardProcurement extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "组织id")
    private Long organizationId;

    @ApiModelProperty(value = "组织编码")
    private String organizationCode;

    @ApiModelProperty(value = "组织名称")
    private String organizationName;

    @ApiModelProperty(value = "单据类型")
    private String bnoType;

    @ApiModelProperty(value = "单据名称")
    private String bnoName;

    @ApiModelProperty(value = "单号")
    private String bnoNo;

    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "单据日期")
    private LocalDate orderDate;

    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryTime;

    @ApiModelProperty(value = "来源类别")
    private String sourceCategory;

    @ApiModelProperty(value = "来源单据")
    private String sourceDocuments;

    @ApiModelProperty(value = "制单人")
    private String createUserCode;

    @ApiModelProperty(value = "制单日期")
    private LocalDate makeDate;

    @ApiModelProperty(value = "状态")
    private String state;


}
